package com.tarena.security.admin.dao;

import com.tarena.security.admin.entity.db.App;
import com.tarena.security.admin.entity.query.AppQuery;
import java.util.List;

/**
 * <p>
 * app Mapper 接口
 * </p>
 *
 * @author Ly
 * @since 2023-04-10
 */
public interface AppMapper {

    int addNewApp(App app);

    int getAppCountByName(String name);

    List<App> getAppList(AppQuery query);

    App getAppById(Integer id);

    int updateByID(App app);

    int deleteById(Integer[] id);
}
